package cn.tedu.hospital.management.dao.persist.repository.impl;


import cn.tedu.hospital.management.dao.persist.mapper.HospitalFieldMapper;
import cn.tedu.hospital.management.dao.persist.mapper.HospitalMapper;
import cn.tedu.hospital.management.dao.persist.repository.IHospitalFieldRepository;
import cn.tedu.hospital.management.pojo.entity.HospitalField;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class HospitalFieldRepositoryImpl implements IHospitalFieldRepository {


    @Autowired
    private HospitalFieldMapper hospitalFieldMapper;

    @Override
    public int insertHospitalField(HospitalField hospitalField) {
        return hospitalFieldMapper.insertHospitalField(hospitalField);
    }
}
